package com.itheima_02;

import java.util.Arrays;

public class ArrayDemo {
    public static void main(String[] args) {
        //定义一个数组
        int[] arr = {24, 69, 80, 57, 13};

        System.out.println("排序前:"+ Arrays.toString(arr));

        Arrays.sort(arr);

        System.out.println("排序后:"+ Arrays.toString(arr));
    }
}
